Skip to content

Conversation

@lemorage
Copy link
Contributor

This PR fixes the CI failure.

  1. The numpy dep is missing, after making sentence-transformers optional since Make sentence_transformers an optional dependency #674. Because sentence-transformers pulled in numpy as one of its dependencies, our code used numpy implicitly.
  2. The mypy type checks failed, cuz imports won't be found, after sentence-transformers is optional.

Copy link
Member

@badmonster0 badmonster0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this quick fix!

In NumPy release 1.23.2, Python 3.11 support was added. See https://github.com/numpy/numpy/releases/tag/v1.23.2.
@badmonster0 badmonster0 merged commit 8daa081 into cocoindex-io:main Jun 30, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants